//
//  ShareViewPopTool.m
//  com.yjwh.yj
//
//  Created by ferver7 on 2018/10/30.
//  Copyright © 2018年 ferver7. All rights reserved.
//

#import "ShareViewPopTool.h"

@implementation ShareViewPopTool

-(void)shareDoorType:(NSInteger)scene andActivityInfo:(NSDictionary *)activityInfo
{
    self.shareView = [[[NSBundle mainBundle] loadNibNamed:@"AppShareViewXib" owner:self options:nil] lastObject];
    self.shareView.typeInt = [activityInfo[@"typeInt"] integerValue];

    self.shareView.axcUI_Size = CGSizeMake(mScreenWidth, mScreenWidth*270/375);
    self.shareView.activityInfo = activityInfo;
    [GKCover translucentCoverFrom:mKeyWindow content:self.shareView animated:YES];
}
@end
